|
|
|
|
|
|
|
You were introduced to the Remote Data Control and the Remote Data Objects. You learned to use these tools to attach to RDBMSs. You learned the properties, methods, and events of these useful tools. |
|
|
|
|
|
|
|
|
You learned how to write data entry forms that use the ODBC API calls to link directly with the ODBC interface to access data in registered ODBC data sources. You also learned how to install the ODBC Administrator and how to create new ODBC data sources for your ODBC-enabled Visual Basic programs. |
|
|
|
|
|
|
|
|
You learned how to distribute data across multiple sites by using database replication. You learned how to create a Design Master and replicas. You learned how to synchronize data changes to a member of a replica set. You also learned how not to distribute specified data tables during the synchronization process. |
|
|
|
|
|
|
|
|
In the final lesson, you learned how to create application-level security schemes such as user login and logout, program-level access rights, and audit trails to keep track of critical application operations. |
|
|
|
|
|
|
|
|
Day 15
Updating Databases with SQL |
|
|
|
|
|
|
|
|
To start your final week of study, you learned how to add, delete, and edit data within tables using the DML (Data Manipulation Language) SQL keywords. You learned that by using DML statements you can quickly create test data for tables and load default values into startup tables. You also learned that DML statementssuch as Append queries, Make Table queries, and Delete queriescan outperform equivalent Visual Basic code versions of the same operations. |
|
|
|
|
|
|
|
|
You learned how to manage data within the tables using the following DML keywords: |
|
|
|
|
|
|
|
|
· The INSERT INTO statement can be used to add new rows to the table using the VALUES clause. |
|
|
|
|
|
|
|
|
· You can create an Append query by using the INSERT INTO_FROM syntax to copy data from one table to another. You can also copy data from one database to another using the IN clause on an INSERT INTO_FROM statement. |
|
|
|
|
|
|
|
|
· You can create new tables by copying the structure and some of the data using the SELECT_INTO statement. This statement can incorporate WHERE, ORDER BY, GROUP BY, and HAVING clauses to limit the scope of the data used to populate the new table you create. |
|
|
|
|
|
|
|
|
· You can use the DELETE FROM clause to remove one or more records from an existing table. You can even create customized views of the database using the JOIN clause, and remove only records that are the result of a JOIN statement. |
|
|
|
|
|